import { axios } from '@/utils/request'

const api = {
  lockLists: '/frontDeskWeb/hoperators/houseLockList',
  getOpenRecordList: '/frontDeskWeb/hoperators/getOpenRecordList'
}

export default api

/**
 * 门锁管理列表
 */
export function lockLists (parameter) {
  return axios({
    url: api.lockLists,
    method: 'post',
    data: parameter
  })
}
/**
 * 开门记录
 */
export function getOpenRecordList (parameter) {
  return axios({
    url: api.getOpenRecordList,
    method: 'post',
    data: parameter
  })
}
